package com.cskaoyan.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    private int age;
    private Date birthday;
    private Date createDate;
    private String mobile;

    public User(String username, String password, int age, Date birthday, Date createDate, String mobile) {
        this.username = username;
        this.password = password;
        this.age = age;
        this.birthday = birthday;
        this.createDate = createDate;
        this.mobile = mobile;
    }
}


